-- GENERATED SPELL FOR [Savannah Matriarch] --


function spell0_3416(pUnit, Event) --@Savannah Cub,Self--
pUnit:FullCastSpellOnTarget(6598,pUnit)
pUnit:RegisterEvent('Sorts_3416', 605, 1)
end

function Sorts_3416(pUnit, Event)
local choix_sorts_3416 = math.random(0, 0)
if choix_sorts_3416 == 0 then
pUnit:RegisterEvent('spell0_3416', 1, 1)
end
end

function mob3416_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3416', math.random(1500, 3000), 1)
end

function mob3416_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3416_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3416_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3416, 1, 'mob3416_Action')
RegisterUnitEvent(3416, 2, 'mob3416_Leave')
RegisterUnitEvent(3416, 3, 'mob3416_Kill')
RegisterUnitEvent(3416, 4, 'mob3416_Die')
